(function($){
	$(document).ready(function(){
		hs.registerOverlay({
			html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
			position: 'top right',
			fade: 2 // fading the semi-transparent overlay looks bad in IE
		});
		
		hs.graphicsDir = '/static/highslide/graphics/';
		hs.align = 'center';
		hs.showCredits = false;
		hs.blockRightClick = true;
		hs.dimmingOpacity = 0.5;
		hs.lang.fullExpandTitle = 'Expand to actual size (F)';
		hs.lang.restoreTitle = 'Click to close image, click and drag to move.';
	});
})(django.jQuery);
